<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

String msg = request.getParameter("MESSAGE");
if(msg==null) msg="";

String callback = request.getParameter("callback");
if(callback==null) callback="";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>操作成功</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="success">
	<meta http-equiv="description" content="操作成功">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body onload="onLoad()">
   		<table width="100%" height="200px" border="0" cellpadding="0" cellspacing="0">
			<tr style="width: 100%">
			    <td style="text-align:center">
		    		<img src="img/success.jpg" />
		    	</td>
 		    </tr>
			<tr style="width: 100%">
			    <td style="text-align:center">
		    		操作成功！
		    	</td>
 		    </tr>
 		    <tr style="width: 100%">
 		    	
			    <td>
			    <input type="text" id="msg" name="msg" style="border:0px; width:100%; text-align: center;" value="<%=msg%>" />
			    </td>
 		    </tr>
  		</table>
  		
  		<SCRIPT LANGUAGE="JavaScript">
  		 function onLoad() {
  		 	document.getElementById("msg").readOnly = true;
  		 	
  		 	var callback = "<%=callback%>";
  		 	if(window.opener != null && callback != "") {
  		 		callback = "window.opener." + callback;
  		 		eval(callback);
  		 	}
  		 }
  		</SCRIPT>
  </body>
</html>
